home *** CD-ROM | disk | FTP | other *** search
- Enclosure: replace
-
- The enclosed script loads itself at system.verbs.builtins.string.replace.
-
- It implements a new builtin: string.replace (s, searchfor, replacewith).
-
- string.replace changes the first occurrence of the search string with the
- replace string. For example, string.replace ("abcdefg", "cd", "xxx") would
- return "abxxxefg".
-
- DW
- Author: EL.GRANDE
-